home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2001 May / may_2001.iso / intercd / root / ^Php / README.TXT
Encoding:
Text File  |  2001-03-01  |  1.4 KB  |  23 lines

  1. PHP Tutorial files
  2.  
  3. 1. If you do not already have a Web server running on your computer, install Xitami off this CD by running bw3224d7.exe
  4.  
  5. 2. Next, install PHP on your system by running php404pl1-installer.exe off the CD. This will automatically configure Xitami, PWS or IIS to use PHP.
  6.  
  7. 3. Version 2 and 3 of the PHP Album use some graphic extensions to PHP. Create an 'extensions' folder in the directory where PHP is installed (C:\PHP by default), and unzip the php-extensions.zip file from this CD into your new folder.
  8.  
  9. 4. To let PHP know the extensions are there, you must edit the C:\Windows\php.ini file. Open it in Notepad and scroll down to the 'Path and Directories' section.
  10.  
  11. 5. Change the line reading "extension_dir=./" so it points to the directory where you unzipped the extensions - it should look something like: "extension_dir=c:\php\extensions" (without the quotes)
  12.  
  13. 6. Scroll down to the 'Dynamic Extensions' section and remove the semi-colon (";") from in front of the extension=php_gd.dll and extension=php_zlib.dll lines.
  14.  
  15. 7. Save php.ini. An example php.ini file is included in the extensions directory.
  16.  
  17. 8. The project files are included in the phpalbum.zip file on this CD. Create a new directory called phpalbum in your Web server's webpage directory (C:\Xitami\webpages by default) and unzip it there.
  18.  
  19. 9. Point your Web browser at http://127.0.0.1/phpalbum/index.htm. You're done!
  20.  
  21. Best of luck,
  22.  
  23. MK